#!/usr/bin/env ruby

require 'sqlite3'

db = SQLite3::Database.new('squick.db')


db.execute("show tables")

# Delete all the lastSeens
# db.execute("delete from lastSeen")
 
db.execute("select * from lastSeen").each do |row|
  row.each do |cell|
    print cell + "\t"
  end
  puts
end


db.execute("select * from ops").each do |row|
  row.each do |cell|
    print cell + "\t"
  end
  puts
end
